<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>日志恢复</title>
    <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css" />
    <link href="./bootstrap/css/datetimepicker.css" rel="stylesheet" />
    <link rel="stylesheet" href="./css/global.css" />
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/log.css" />
    <script src="./js/jquery-1.11.3.min.js"></script>
    <script src="./bootstrap/js/bootstrap.min.js"></script>
    <script src="./bootstrap/js/moment.js"></script>
    <script src="./bootstrap/js/datetimepicker.js"></script>
    <script src="./js/global.js"></script>
  </head>

  <body>
    <div class="container col-lg-12">
      <div class="navigation">
        <img class="nav-logo float-left" src="./img/logo.png" alt="logo" />
        <div class="nav-text float-left">标准版</div>
        <div class="nav-drop dropdown float-right">
          <a
            href="#"
            class="dropdown-toggle"
            data-toggle="dropdown"
            role="button"
            aria-haspopup="true"
            aria-expanded="false"
            >ADMIN <span class="caret"></span
          ></a>
          <ul class="dropdown-menu dropdown-menu-right">
            <span class="dropdown-menu-top"></span>
            <li><a href="#">个人信息</a></li>
            <li><a href="#">修改密码</a></li>
          </ul>
        </div>
        <img class="nav-avatar float-right" src="./img/avatar.png" alt="头像" />
      </div>
      <div id="sidebar" class="sidebar float-left">
        <ul id="accordion" class="accordion">
          <li class="a1"><a href="home.html">系统管理审计</a></li>
          <li class="a2"><a href="safety.html">安全管理审计</a></li>
          <li class="a3">
            <div class="link">
              <i class="icon-log"></i>日志管理<i class="stretch"></i>
            </div>
            <ul class="submenu">
              <li>
                <a href="log-backups.html">日志备份</a>
              </li>
              <li>
                <a class="active" href="log-recover.html">日志恢复</a>
              </li>
            </ul>
          </li>
          <li class="a4">
            <div class="link">
              <i class="icon-manager"></i>管理员管理<i class="stretch"></i>
            </div>
            <ul class="submenu">
              <li>
                <a href="admin-list.html">管理员列表</a>
              </li>
              <li>
                <a href="role-list.html">管理员角色列表</a>
              </li>
            </ul>
          </li>
          <li class="a5"><a href="user.html"> 个人中心</a></li>
        </ul>

        <ul class="m-hide icon-sidebar">
          <li>
            <a
              href="home.html"
              data-toggle="tooltipp"
              data-placement="right"
              title="系统管理审计"
            >
            </a>
          </li>
          <li>
            <a
              href="safety.html"
              data-toggle="tooltipp"
              data-placement="right"
              title="安全管理审计"
            >
            </a>
          </li>
          <li class="active">
            <a
              href="log-backups.html"
              data-toggle="tooltipp"
              data-placement="right"
              title="日志管理"
            >
            </a>
          </li>
          <li>
            <a
              href="admin-list.html"
              data-toggle="tooltipp"
              data-placement="right"
              title="管理员管理"
            >
            </a>
          </li>
          <li>
            <a
              href="user.html"
              data-toggle="tooltipp"
              data-placement="right"
              title="个人中心"
            >
            </a>
          </li>
        </ul>
        <div id="flod-btn" class="flod-btn"></div>
      </div>
      <div id="m-content" class="content float-right clearfloat">
        <ol class="breadcrumb" style="background: none">
          <li><a>日志管理</a></li>
          <li class="active">日志恢复</li>
        </ol>

        <div class="card-2 float-right panel" style="width: 100%">
          <div class="title" style="position: relative">
            <ul>
              <li
                class="btn btn-xs float-left m-btn"
                data-toggle="modal"
                data-target="#myModal"
              >
                恢复
              </li>
              <li class="btn btn-xs float-left m-btn">刷新</li>
            </ul>

            <div class="input-group float-right">
              <ul class="ul_ul" style="margin: -4px 0 0 0">
                <li class="left_li">日期范围：</li>
                <li class="right_li margin-l">
                  <input
                    id="datetimepicker1"
                    class="form_datetime form-control input-padding icon-time"
                    type="text"
                    value=""
                    id="startConsignedTm"
                    name="startConsignedTm"
                    placeholder="开始日期"
                    style="width: 120px"
                  />
                </li>
                <span style="margin-left: 12px">-</span>
                <li class="right_li margin-l">
                  <input
                    id="datetimepicker2"
                    class="form_datetime form-control input-padding icon-time"
                    type="text"
                    value=""
                    id="endConsignedTm"
                    name="endConsignedTm"
                    placeholder="结束日期"
                    style="width: 120px"
                  />
                </li>
                <li
                  class="btn btn-xs float-left m-btn search-btn"
                  style="margin-right: 0;margin-top: 4px;"
                >
                  搜索
                </li>
              </ul>
            </div>
          </div>

          <div class="table-cont">
            <div class="table-bottom">
              <table
                id="m-tab-bottom"
                class="table text-center"
                style="text-overflow: ellipsis; white-space: nowrap"
              >
                <thead>
                  <tr>
                    <td>恢复文件</td>
                    <td>恢复主机</td>
                    <td>恢复日期</td>
                    <td>备份用户</td>
                    <td>备份主机</td>
                    <td>备份时间</td>
                    <td>备份时间段</td>
                    <td>恢复状态</td>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                  <tr>
                    <td>人员资料.zip</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>杨发财</td>
                    <td>pc-380</td>
                    <td>2020-03-16 19:13:00</td>
                    <td>2020-03-16至2020-12-01</td>
                    <td>正在恢复</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="table-top">
              <table id="m-tab-top" class="table text-center">
                <thead>
                  <tr>
                    <td>恢复编号</td>
                    <td>恢复用户</td>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                  <tr>
                    <td>ABC233009</td>
                    <td>杨发财</td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div class="paging">
            <span>共29条</span>
            <div class="dropup">
              <button
                class="btn m-btn btn-xs btn-default dropdown-toggle"
                type="button"
                id="dropdownMenu1"
                data-toggle="dropdown"
                aria-haspopup="true"
                aria-expanded="true"
              >
                20条/页
                <span class="caret"></span>
              </button>
              <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                <li><a href="#">5条/页</a></li>
                <li><a href="#">10条/页</a></li>
              </ul>
            </div>
            <p><button class="btn m-btn btn-default btn-xs">首页</button></p>
            <nav aria-label="Page navigation ">
              <ul class="pagination">
                <li>
                  <a href="#" aria-label="Previous">
                    <span aria-hidden="true">&laquo;</span>
                  </a>
                </li>
                <li><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li>
                  <a href="#" aria-label="Next">
                    <span aria-hidden="true">&raquo;</span>
                  </a>
                </li>
              </ul>
            </nav>
            <p>
              <button class="btn m-btn btn-default btn-xs">尾页</button>
            </p>
          </div>
        </div>

        <!-- 备份提示 -->
        <div class="modal fade" tabindex="-1" id="myModal" role="dialog">
          <div class="modal-dialog modal-center2" role="document">
            <div class="modal-content">
              <div class="modal-header">
                <button
                  type="button"
                  class="close"
                  data-dismiss="modal"
                  aria-label="Close"
                >
                  <span class="modal-close" aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">日志备份列表</h4>
              </div>
              <div class="modal-body file-body">
                <div class="box">
                  <div class="table-cont">
                    <div class="table-bottom">
                      <table
                        id="m-tab-bottom"
                        class="table text-center"
                        style="
                          text-overflow: ellipsis;
                          white-space: nowrap;
                          margin-left: 0;
                        "
                      >
                        <thead>
                          <tr>
                            <td></td>
                            <td>备份编号</td>
                            <td>备份用户</td>
                            <td>备份文件</td>
                            <td>文件大小</td>
                            <td>备份主机</td>
                            <td>备份日期</td>
                          </tr>
                        </thead>
                        <tbody>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                          <tr>
                            <td><input type="checkbox" /></td>
                            <td>ABC233009</td>
                            <td>杨发财</td>
                            <td>人员信息变动表</td>
                            <td>1024.2MB</td>
                            <td>pc-380</td>
                            <td>2020-03-16 19:13:00</td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                  <div class="paging">
                    <span>共29条</span>
                    <div class="dropup">
                      <button
                        class="btn m-btn btn-xs btn-default dropdown-toggle"
                        type="button"
                        id="dropdownMenu1"
                        data-toggle="dropdown"
                        aria-haspopup="true"
                        aria-expanded="true"
                      >
                        20条/页
                        <span class="caret"></span>
                      </button>
                      <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                        <li><a href="#">5条/页</a></li>
                        <li><a href="#">10条/页</a></li>
                      </ul>
                    </div>
                    <p>
                      <button class="btn m-btn btn-default btn-xs">首页</button>
                    </p>
                    <nav aria-label="Page navigation ">
                      <ul class="pagination">
                        <li>
                          <a href="#" aria-label="Previous">
                            <span aria-hidden="true">&laquo;</span>
                          </a>
                        </li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li>
                          <a href="#" aria-label="Next">
                            <span aria-hidden="true">&raquo;</span>
                          </a>
                        </li>
                      </ul>
                    </nav>
                    <p>
                      <button class="btn m-btn btn-default btn-xs">尾页</button>
                    </p>
                  </div>
                </div>
              </div>
              <div class="modal-footer">
                <button
                  type="button"
                  class="btn_b"
                  data-dismiss="modal"
                  data-toggle="modal"
                  data-target="#auditModalSure"
                >
                  确定恢复
                </button>
                <button type="button" class="btn_q" data-dismiss="modal">
                  取消
                </button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <script>
      $(function () {
        // 列表点击选中的效果
        $("#m-tab-top>tbody>tr,#m-tab-bottom>tbody>tr").click(function () {
          var i = $(this).index();
          $($("#m-tab-top>tbody>tr")[i])
            .toggleClass("tr-active")
            .siblings()
            .removeClass("tr-active");
          $($("#m-tab-bottom>tbody>tr")[i])
            .toggleClass("tr-active")
            .siblings()
            .removeClass("tr-active");
        });
        $("#datetimepicker1,#datetimepicker2").datetimepicker({
          format: "YYYY-MM-DD",
          locale: moment.locale("zh-cn"),
          defaultDate: "",
        });
      });
    </script>
  </body>
</html>
